package com.jhh.pay.center.model;

/**
 * @author tangxd
 * @Description: TODO
 * @date 2017/12/4
 */
public enum OrderState implements CodeBaseEnum {
    INIT(0,"初始"),
    SUCCESS(1,"成功"),
    ERROR(2,"错误"),
    PROGRESSING(3,"进行中");

    private Integer code;
    private String description;

    OrderState(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public int code() {
        return code;
    }

    public String Description() {
        return this.description;
    }
}
